package cn.pcManage.goodsManage.dao;

import cn.common.goods.dao.BaseGoodsTypeMapper;
import cn.common.goods.model.BaseGoodsType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GoodsTypeMapper extends BaseGoodsTypeMapper{
    List<BaseGoodsType> getTypeList(BaseGoodsType goodsType);

    List<BaseGoodsType> getTypeListByFatherId(@Param("fatherId") Integer fatherId);

    List<BaseGoodsType> getTypeSelect();

    String getTypeNameById(@Param("typeId") Integer typeId);
}